<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
  <el-container>
    <el-container class="el-container">
      <el-aside width="200px" class="h-100vh border-r-1px border-r-solid border-r-#dcdfe6">
        <el-menu default-active="2" class="el-menu-vertical-demo">
          <el-menu-item index="2">
            <el-icon><Menu /></el-icon>
            <span><RouterLink to="/">模具</RouterLink></span>
          </el-menu-item>
          <el-menu-item index="2">
            <el-icon><Menu /></el-icon>
            <span><RouterLink to="/model">模型</RouterLink></span>
          </el-menu-item>
        </el-menu>
      </el-aside>
      <el-main><RouterView /></el-main>
    </el-container>
  </el-container>
</template>

<style scoped>
:deep(.el-menu) {
  border-right: none !important;
}
</style>
